package com.darchrow.springcloud.service;

import org.springframework.stereotype.Component;

/**
 * @author mdl
 * @version 1.0
 * @date 2020/9/25 14:47
 */
@Component
public class PaymentFactoryService implements PaymentHystrixService {
    @Override
    public String paymentInfo_OK(Integer id) {
        return "----PaymentFactoryService fall back - paymentInfo_OK, o(╥﹏╥)o";
    }

    @Override
    public String paymentInfo_TimeOut(Integer id) {
        return "----PaymentFactoryService fall back - paymentInfo_TimeOut, o(╥﹏╥)o";
    }
}
